|
|
9.2 | VTP | ||
| 9.2.5 | VTP configuration |
The following basic tasks must be
considered before configuring VTP and VLANs on the network.
Two different versions of VTP are available, Version 1 and Version 2. The two versions are not interoperable. If a switch is configured in a domain for VTP Version 2, all switches in the management domain must be configured for VTP Version 2. VTP Version 1 is the default. VTP Version 2 may be implemented if some of the specific features that VTP Version 2 offers are not offered in VTP Version 1. The most common feature that is needed is Token Ring VLAN support. To configure the VTP version on a Cisco
IOS command-based switch, first enter VLAN database mode.
Use the following command to change the VTP version number on a set command-based switch.
If the switch being installed is the first switch in the network, create the management domain. If the management domain has been secured, configure a password for the domain. To create a management domain use the
following command:
The domain name can be between 1 and 32 characters. The password must be between 8 and 64 characters long. To add a VTP client to an existing VTP
domain, always verify that its VTP configuration revision number is
lower than the configuration revision number of the other switches in
the VTP domain. Use the show vtp status command. Switches in a VTP
domain always use the VLAN configuration of the switch with the highest
VTP configuration revision number. If a switch is added that has a
revision number higher than the revision number in the VTP domain, it
can erase all VLAN information from the VTP server and VTP domain.
Choose one of the three available VTP modes for the switch. If this is the first switch in the management domain and additional switches will be added, set the mode to server. The additional switches will be able to learn VLAN information from this switch. There should be at least one server. VLANs can be created, deleted, and renamed at will without the switch propagating changes to other switches. If a large number of people are configuring devices within the network, there is a risk of overlapping VLANs with two different meanings in the network but with the same VLAN identification. To set the correct mode of the Cisco IOS
command-based switch, use the following command:
Figure
Figure
|